//package io.xxx.mario.config;
//
//import com.aliyuncs.DefaultAcsClient;
//import com.aliyuncs.IAcsClient;
//import com.aliyuncs.profile.DefaultProfile;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class SchedulerXConfig {
//
//    @Bean
//    public IAcsClient acsClient() {
//        String regionId = "cn-shenzhen";
//        String accessKeyId = "LTAI5tEUKsHBvSmMwKe2zuhb";
//        String accessKeySecret = "uiLifF17Nh0rIohyrIPpfnQfd1HevD";
//        String productName = "schedulerx2";
//        String domain = "schedulerx.aliyuncs.com";
//        DefaultProfile.addEndpoint(regionId, productName, domain);
//        DefaultProfile defaultProfile = DefaultProfile.getProfile(regionId, accessKeyId, accessKeySecret);
//        return new DefaultAcsClient(defaultProfile);
//    }
//}
